﻿namespace FFF.Test.Entity.FW.Dto
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Framework.Dto;
    using FFF.Test.Entity.FW.View;       

	/// <summary>
    /// 模块表展示时候的dto
    /// </summary>
	[AutoMapFrom(typeof(FWModuleEntity))] 
    public partial class FWModuleDto :  BaseEntityDto<Guid>
    {
		/// <summary>
        /// 模块名称
        /// </summary>
		[Display(Name = "模块名称", Description = "模块名称")]
        [Column("ModuleName")]
		[StringLength(128)]
        public string ModuleName { get; set; }
        
		/// <summary>
        /// 模块程序图标
        /// </summary>
		[Display(Name = "模块程序图标", Description = "模块程序图标")]
        [Column("ModuleIconCls")]
		[StringLength(128)]
        public string ModuleIconCls { get; set; }
        
		/// <summary>
        /// 模块排序编码
        /// </summary>
		[Display(Name = "模块排序编码", Description = "模块排序编码")]
        [Column("ModuleCode")]
		[StringLength(128)]
        public string ModuleCode { get; set; }
        
		/// <summary>
        /// 模块是否禁用
        /// </summary>
		[Display(Name = "模块是否禁用", Description = "模块是否禁用")]
        [Column("ModuleIsDisable")]
        public byte? ModuleIsDisable { get; set; }
        
		/// <summary>
        /// 模块帮助URL地址
        /// </summary>
		[Display(Name = "模块帮助URL地址", Description = "模块帮助URL地址")]
        [Column("ModuleHelpUrl")]
		[StringLength(256)]
        public string ModuleHelpUrl { get; set; }
        
		/// <summary>
        /// 模块备注
        /// </summary>
		[Display(Name = "模块备注", Description = "模块备注")]
        [Column("ModuleRemark")]
		[StringLength(99999)]
        public string ModuleRemark { get; set; }
        
		/// <summary>
        /// 模块URl
        /// </summary>
		[Display(Name = "模块URl", Description = "模块URl")]
        [Column("ModuleUrl")]
		[StringLength(1024)]
        public string ModuleUrl { get; set; }
        
		/// <summary>
        /// 是否全屏展示
        /// </summary>
		[Display(Name = "是否全屏展示", Description = "是否全屏展示")]
        [Column("IsFullModule")]
        public byte? IsFullModule { get; set; }
        
    }
    
    /// <summary>
    /// 模块表新增时候的dto
    /// </summary>
	[AutoMap(typeof(FWModuleEntity))]
    [AutoMapFrom(typeof(ViewFWModule))] 
    public partial class FWModuleCreateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 模块名称
        /// </summary>
		[Display(Name = "模块名称", Description = "模块名称")]
        [Column("ModuleName")]
		[StringLength(128)]
        public string ModuleName { get; set; }
        
		/// <summary>
        /// 模块程序图标
        /// </summary>
		[Display(Name = "模块程序图标", Description = "模块程序图标")]
        [Column("ModuleIconCls")]
		[StringLength(128)]
        public string ModuleIconCls { get; set; }
        
		/// <summary>
        /// 模块排序编码
        /// </summary>
		[Display(Name = "模块排序编码", Description = "模块排序编码")]
        [Column("ModuleCode")]
		[StringLength(128)]
        public string ModuleCode { get; set; }
        
		/// <summary>
        /// 模块是否禁用
        /// </summary>
		[Display(Name = "模块是否禁用", Description = "模块是否禁用")]
        [Column("ModuleIsDisable")]
        public byte? ModuleIsDisable { get; set; }
        
		/// <summary>
        /// 模块帮助URL地址
        /// </summary>
		[Display(Name = "模块帮助URL地址", Description = "模块帮助URL地址")]
        [Column("ModuleHelpUrl")]
		[StringLength(256)]
        public string ModuleHelpUrl { get; set; }
        
		/// <summary>
        /// 模块备注
        /// </summary>
		[Display(Name = "模块备注", Description = "模块备注")]
        [Column("ModuleRemark")]
		[StringLength(99999)]
        public string ModuleRemark { get; set; }
        
		/// <summary>
        /// 模块URl
        /// </summary>
		[Display(Name = "模块URl", Description = "模块URl")]
        [Column("ModuleUrl")]
		[StringLength(1024)]
        public string ModuleUrl { get; set; }
        
		/// <summary>
        /// 是否全屏展示
        /// </summary>
		[Display(Name = "是否全屏展示", Description = "是否全屏展示")]
        [Column("IsFullModule")]
        public byte? IsFullModule { get; set; }
        
    }
     
     /// <summary>
    /// 模块表更新时候Dto
    /// </summary>
	[AutoMap(typeof(FWModuleEntity))]
    [AutoMapFrom(typeof(ViewFWModule))] 
    public partial class FWModuleUpdateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 模块名称
        /// </summary>
		[Display(Name = "模块名称", Description = "模块名称")]
        [Column("ModuleName")]
		[StringLength(128)]
        public string ModuleName { get; set; }
        
		/// <summary>
        /// 模块程序图标
        /// </summary>
		[Display(Name = "模块程序图标", Description = "模块程序图标")]
        [Column("ModuleIconCls")]
		[StringLength(128)]
        public string ModuleIconCls { get; set; }
        
		/// <summary>
        /// 模块排序编码
        /// </summary>
		[Display(Name = "模块排序编码", Description = "模块排序编码")]
        [Column("ModuleCode")]
		[StringLength(128)]
        public string ModuleCode { get; set; }
        
		/// <summary>
        /// 模块是否禁用
        /// </summary>
		[Display(Name = "模块是否禁用", Description = "模块是否禁用")]
        [Column("ModuleIsDisable")]
        public byte? ModuleIsDisable { get; set; }
        
		/// <summary>
        /// 模块帮助URL地址
        /// </summary>
		[Display(Name = "模块帮助URL地址", Description = "模块帮助URL地址")]
        [Column("ModuleHelpUrl")]
		[StringLength(256)]
        public string ModuleHelpUrl { get; set; }
        
		/// <summary>
        /// 模块备注
        /// </summary>
		[Display(Name = "模块备注", Description = "模块备注")]
        [Column("ModuleRemark")]
		[StringLength(99999)]
        public string ModuleRemark { get; set; }
        
		/// <summary>
        /// 模块URl
        /// </summary>
		[Display(Name = "模块URl", Description = "模块URl")]
        [Column("ModuleUrl")]
		[StringLength(1024)]
        public string ModuleUrl { get; set; }
        
		/// <summary>
        /// 是否全屏展示
        /// </summary>
		[Display(Name = "是否全屏展示", Description = "是否全屏展示")]
        [Column("IsFullModule")]
        public byte? IsFullModule { get; set; }
        
    }
}
